package com.lipeng.service;

import com.lipeng.bean.Comment;
import com.lipeng.bean.Photo;

import java.util.List;

/**
 * Created by dllo on 18/3/8.
 */
public interface CommentService {
    List<Comment> findAllComment();

    Comment selectCommentById(Integer comid);

    int deleteCommentById(Integer comid);

    List<Comment> selectCommentByContent(String content);

    int delCommentByPid(Integer pid);

    int addComment(Comment comment);
}
